package com.wicket.okrapp.base.service.dto.common;
import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc ContentVirtualOrgMemberDeptDto
     * @使用场景
     */
    @Data
    public class ContentVirtualOrgMemberDeptDto extends BaseDto  implements Serializable {
      
    /**
     * 冗余内容表主键ID 
     */
    @ApiModelProperty("冗余内容表主键ID")
    private String	 entityId;

    /**
     * 加入生效时间 
     */
    @ApiModelProperty("加入生效时间")
    private Date	 startTime;

    /**
     * 撤销结束时间 
     */
    @ApiModelProperty("撤销结束时间 ")
    private Date	 endTime;
/**
     * 虚拟组织下部门ID 
     */
    @ApiModelProperty("虚拟组织下部门ID")
    private String	 deptId;

    /**
     * 部门简称 
     */
    @ApiModelProperty("部门简称")
    private String	 deptShortName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      ContentVirtualOrgMemberDeptDto that = (ContentVirtualOrgMemberDeptDto) o;
      return  entityId == that.entityId&&startTime == that.startTime&&endTime == that.endTime&&deptId == that.deptId&&deptShortName == that.deptShortName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), entityId,startTime,endTime,deptId,deptShortName);
    }
    
      

    }
   